tar xf ${DOWNLOADDIR}/mpc-1.3.1.tar.gz -C ${BUILDDIR}
pushd ${BUILDDIR}/mpc-1.3.1
	rm $(dirname $(find -name "config.sub"))/config.{sub,guess}
	automake --add-missing
	./configure --build=${CROSS_HOST} --host=${CROSS_TARGET} --prefix=/usr --libdir=/usr/lib64
	make ${JOBS}
	make DESTDIR=${SYSDIR}/sysroot install
	rm -v ${SYSDIR}/sysroot/usr/lib64/libmpc.la
popd
